"use strict";
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = Hello;
var helloWorld = "Hello World";
var user0 = {
    name: "Calos",
    id: 0,
    Age: 1,
    address: null
};
var UserAccount = /** @class */ (function () {
    function UserAccount(name, id) {
        this.name = name;
        this.id = id;
    }
    return UserAccount;
}());
var user = new UserAccount("Calos1", 1);
function deleteUser(user) {
}
function getAdminUser() {
    return user;
}
function getLength(obj) {
    return obj.length;
}
var x = "minimized";
function wrapInArray(obj) {
    return (typeof obj === "string" ? [obj] : obj);
}
backpack.add("23");
backpack.get();
var ax = { x: 0 };
function objType(pt) {
}
function unitonType(id) {
}
var x1 = "hello";
x1 = "hello";
function move(animal) {
    if ("fly" in animal) {
        return animal.fly();
    }
}
var someClass = /** @class */ (function () {
    function class_1(value, x, y, z) {
        this.x = x;
        this.y = y;
        this.z = z;
        this.content = value;
    }
    return class_1;
}());
var ABase = /** @class */ (function () {
    function ABase() {
    }
    return ABase;
}());
var Base = /** @class */ (function () {
    function Base() {
        this.name = "hello";
        this._length = 0;
    }
    Object.defineProperty(Base.prototype, "length", {
        get: function () {
            return this._length;
        },
        set: function (value) {
            this._length = value;
        },
        enumerable: false,
        configurable: true
    });
    Base.prototype.greet = function () {
    };
    return Base;
}());
var Greeter = /** @class */ (function (_super) {
    __extends(Greeter, _super);
    function Greeter(otherName) {
        var _this = _super.call(this) || this;
        _this.name1 = "i am who";
        _this.name2 = "answered";
        _this.name3 = "can set from constructor";
        _Greeter_barkAmount.set(_this, 0);
        _this.name = "world";
        if (otherName !== undefined) {
            _this.name = otherName;
        }
        return _this;
    }
    Greeter.prototype.greet = function () {
    };
    Greeter.prototype.err = function () {
    };
    var _Greeter_barkAmount;
    _Greeter_barkAmount = new WeakMap();
    Greeter.x = 0;
    return Greeter;
}(Base));
function mov(greeter) {
    greeter.greet();
}
function Hello() {
}
var Direction;
(function (Direction) {
    Direction[Direction["up"] = 1] = "up";
    Direction[Direction["Down"] = 2] = "Down";
    Direction[Direction["Left"] = 3] = "Left";
    Direction[Direction["Right"] = 4] = "Right";
})(Direction || (Direction = {}));
